//
//  SGJRegisterSetTheDataViewController.m
//  Sewage
//
//  Created by 宗庆猛 on 2017/5/31.
//  Copyright © 2017年 宗庆猛. All rights reserved.
//

#import "SGJRegisterSetTheDataViewController.h"

#import "SGJTabController.h"

@interface SGJRegisterSetTheDataViewController ()
// 头像
@property (weak, nonatomic) IBOutlet UIImageView *HeadSculptureImageView;
// 输入真实姓名View（只是切圆角用）
@property (weak, nonatomic) IBOutlet UIView *EnterRealNameView;
// 添加头像按钮
@property (weak, nonatomic) IBOutlet UIButton *AddAvatarButton;
// 输入真实姓名TextField
@property (weak, nonatomic) IBOutlet UITextField *EnterRealNameTextField;
// 完成按钮
@property (weak, nonatomic) IBOutlet UIButton *CompleteButton;

@end

@implementation SGJRegisterSetTheDataViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // 设置背景灰度
    self.view.backgroundColor = [UIColor colorWithWhite:.95 alpha:1];
    // 切圆角
    self.EnterRealNameView.layer.cornerRadius = 22;
    self.CompleteButton.layer.cornerRadius = 22;
    
    self.EnterRealNameTextField.borderStyle = UITextBorderStyleNone
    ;
    self.HeadSculptureImageView.image = [UIImage imageNamed:@"DefaultAvatar"];
    
}
// 跳过按钮
- (IBAction)PassButton:(id)sender {
    [self CompleteButton:nil];
}
// 添加头像按钮
- (IBAction)AddAvatarButton:(id)sender {
}
// 完成按钮
- (IBAction)CompleteButton:(id)sender {
    SGJTabController *tabVc = [[SGJTabController alloc] init];
    [self presentViewController:tabVc animated:YES completion:nil];
   // [self.navigationController pushViewController:tabVc animated:YES];
}

@end
